package com.ssmTest.model;


public class User {

    /**
     * id : 1
     * phone_number : 电话号码
     * passwd : 密码
     * gender : 性别
     * name : 姓名
     * address : 家庭地址
     * payment : 支付方式
     * customer_type : 用户类型：0 管理员，1 普通用户，2 经纪人，3 农机手
     * state : 用户状态位
     * id_number : 身份证号
     * planting_type : 种植作物类型
     * work_years : 从业年限
     * driving_license : 驾照
     * group_photo : 农机手与农机合照
     * invitation_code : 邀请码
     * royalty : 经纪人抽成
     * fail_reasion:审核失败原因
     * time:用户注册时间
     * id_card:身份证照片
     * enterprise_name:企业名称
     * gateway:门户
     */

    private int id;
    private String phone_number;
    private String passwd;
    private int gender;
    private String name;
    private String address;
    private String payment;
    private int customer_type;
    private int state;
    private String id_number;
    private String planting_type;
    private String work_years;
    private String driving_license;
    private String group_photo;
    private String invitation_code;
    private double royalty;
    private String fail_reasion;
    private String time;
    private String id_card;
    private String enterprise_name;
    private String gateway;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getPhone_number() {
        return phone_number;
    }

    public void setPhone_number(String phone_number) {
        this.phone_number = phone_number;
    }

    public String getPasswd() {
        return passwd;
    }

    public void setPasswd(String passwd) {
        this.passwd = passwd;
    }

    public int getGender() {
        return gender;
    }

    public void setGender(int gender) {
        this.gender = gender;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getPayment() {
        return payment;
    }

    public void setPayment(String payment) {
        this.payment = payment;
    }

    public int getCustomer_type() {
        return customer_type;
    }

    public void setCustomer_type(int customer_type) {
        this.customer_type = customer_type;
    }

    public int getState() {
        return state;
    }

    public void setState(int state) {
        this.state = state;
    }

    public String getId_number() {
        return id_number;
    }

    public void setId_number(String id_number) {
        this.id_number = id_number;
    }

    public String getPlanting_type() {
        return planting_type;
    }

    public void setPlanting_type(String planting_type) {
        this.planting_type = planting_type;
    }

    public String getWork_years() {
        return work_years;
    }

    public void setWork_years(String work_years) {
        this.work_years = work_years;
    }

    public String getDriving_license() {
        return driving_license;
    }

    public void setDriving_license(String driving_license) {
        this.driving_license = driving_license;
    }

    public String getGroup_photo() {
        return group_photo;
    }

    public void setGroup_photo(String group_photo) {
        this.group_photo = group_photo;
    }

    public String getInvitation_code() {
        return invitation_code;
    }

    public void setInvitation_code(String invitation_code) {
        this.invitation_code = invitation_code;
    }

    public double getRoyalty() {
        return royalty;
    }

    public void setRoyalty(double royalty) {
        this.royalty = royalty;
    }

    public String getFail_reasion() {
        return fail_reasion;
    }

    public void setFail_reasion(String fail_reasion) {
        this.fail_reasion = fail_reasion;
    }

    public String getTime() {
        return time;
    }

    public void setTime(String time) {
        this.time = time;
    }

    public String getId_card() {
        return id_card;
    }

    public void setId_card(String id_card) {
        this.id_card = id_card;
    }

    public String getEnterprise_name() {
        return enterprise_name;
    }

    public void setEnterprise_name(String enterprise_name) {
        this.enterprise_name = enterprise_name;
    }

    public String getGateway() {
        return gateway;
    }

    public void setGateway(String gateway) {
        this.gateway = gateway;
    }
}
